# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=azote
pkgver=1.9.2
pkgrel=0
pkgdesc="Wallpaper and colour manager for Sway, i3 and other window managers"
url="https://github.com/nwg-piotr/azote"
arch="noarch"
license="GPL-3.0-or-later AND BSD-3-Clause"
depends="feh gtk+3.0 py3-cairo py3-gobject3 py3-pillow py3-send2trash
	py3-setuptools python3 xrandr"
options="!check" # no checks
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/azote/archive/v$pkgver.tar.gz"

package() {
	install -Dm755 dist/azote "$pkgdir"/usr/bin/azote
	install -D -t "$pkgdir"/usr/share/pixmaps dist/azote.svg
	install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_active.png
	install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_attention.png
	install -D -t "$pkgdir"/usr/share/applications dist/azote.desktop
	python3 setup.py install --root="$pkgdir/" --optimize=1
}

sha512sums="
aa2b45966e13a0bc9196e40bd3fbda0e0ebb5105690e938df33b72221ef2502511de62611e3423bf102f7e332a0fe889b545e20c41fa28b3264da9521fb6ef92  azote-1.9.2.tar.gz
"
